package com.koelo.kiss.re.predicates;

import com.koelo.kiss.re.util.IContext;
import com.koelo.kiss.re.util.IMessage;
import com.koelo.kiss.re.util.IRule;
import com.koelo.kiss.re.util.ISession;

public class IsFlagSet 
	implements IRule {

	@Override
	public boolean eval(IContext context, ISession session, IMessage message) {
		
		return (Boolean) context.get("flag", false);
	}
}
